﻿@model Fyp.Models.Student
@{
    var PageTitle = "DeleteStudent";
    Layout = "~/Shared/_layoutPage.cshtml";
}
@section title
{
 @PageTitle
}
<link rel="stylesheet" type="text/css" href="~/Styles/template.css" media="screen">
<style>
table, td, th
{
border:1px solid green;
padding:2px;
}
th
{
background-color:green;
color:white;
padding:2px;
}
</style>

<div id="main" class = "background">
<strong>
            <div id="content"  style="margin-left: 98px;margin-bottom: -1px;">
                 <h2 style="text-align: center;margin-left:-40px;">Edit Student</h2>
             </div>
    </strong> 
    @*<div id="t1" style="margin-left:50px; margin-top: 15px">
    *@ 
            
 @*</div>*@
   @using (Html.BeginForm()) {    
    <table border="1" style="margin-left:50px; margin-bottom: 1px">
       
        <tbody>
          
       <thead>
           <tr>
               
               <th class="table">Name</th>
               <th class="table">RollNo</th>
               <th class="table">Email</th>

               <th> Delete</th>

           </tr>
       </thead>
   <tbody>
       <tr>
    <div class="display-field">
         <td class="table">@Html.DisplayFor(model => model.Std_Name)</td>
          <td class="table">@Html.DisplayFor(model => model.Std_RegId)</td>
          <td class="table">@Html.DisplayFor(model => model.Std_Email)</td>
         <td class="table"><input type="submit" class = "buttonSave" value="Delete" /> </td>
    </div>
          </tr>
   </tbody>
         
        </table>
   }
    </div>
    </form>